package buildings;

public interface Building {

    int getFloorCount();

    int getSpaceCount();

    float getTotalSquare();

    int getTotalRoomCount();

    Floor[] getFloors();

    Floor getFloorByNumber(int number);

    void setFloorByNumber(int number, Floor floor);

    Space getSpaceByNumber(int number);

    void setSpaceByNumber(int number, Space space);

    void addSpaceByNumber(int number, Space space);

    void deleteSpaceByNumber(int number);

    Space getBestSpace();

    Space[] getSortedSpaces();
    
    java.util.Iterator iterator();
    
    public Object clone() throws CloneNotSupportedException;
}
